babl-cache: expect newline trouble on win32
authorØyvind Kolås <pippin@gimp.org>
Mon, 21 Nov 2016 12:42:55 +0000 (13:42 +0100)
committerØyvind Kolås <pippin@gimp.org>
Mon, 21 Nov 2016 12:42:55 +0000 (13:42 +0100)
babl/babl-cache.c

index e0c93656497feb20822ee4ba1031728a1b746010..e1c3dd369511a95398520deec69909e06b42a77c 100644 (file)
@@ -207,7 +207,7 @@ void babl_init_db (void)
 {
   const char *path = fish_cache_path ();
   long  length = -1;
-  char  seps[] = "\n";
+  char  seps[] = "\n\r";
   Babl *babl   = NULL;
   char *contents = NULL;
   char *token;